package cn.panda.edu.dao;

import cn.panda.edu.model.ExamPaper;

/**
 * 
 * 类描述：对试卷册的操作  
 * @author: 陈飞帆  
 * @date： 2018-01-15 下午3:51:00
 */
public interface ExamPaperMapper {
    /**
     * 
    * @Title: deleteByPrimaryKey 
    * @Description: 根据试卷ID删除
    * @param examPaperId
    * @return  
    * int
     */
	int deleteByPrimaryKey(Integer examPaperId);
    /**
     * 
    * @Title: insert 
    * @Description: 添加试卷
    * @param record
    * @return  
    * int
     */
    int insert(ExamPaper record);
    /**
     * 
    * @Title: insertSelective 
    * @Description: 动态添加试卷
    * @param record
    * @return  
    * int
     */
    int insertSelective(ExamPaper record);
    /**
     * 
    * @Title: selectByPrimaryKey 
    * @Description: 根据试卷ID查询 
    * @param examPaperId
    * @return  
    * ExamPaper
     */
    ExamPaper selectByPrimaryKey(Integer examPaperId);
    /**
     * 
    * @Title: updateByPrimaryKeySelective 
    * @Description: 动态更新试卷
    * @param record
    * @return  
    * int
     */
    int updateByPrimaryKeySelective(ExamPaper record);
    /**
     * 
    * @Title: updateByPrimaryKey 
    * @Description: 更新试卷
    * @param record
    * @return  
    * int
     */
    int updateByPrimaryKey(ExamPaper record);
}